﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace RRRSRoguelikeData
{
	public class TileData: ObjectData, ICloneable
    {
      
        public string ImageCharacter;
        public string ForeColor;
        public string BackColor;
        public int X; 
        public int Y;
        public bool Walkable = true;

        public TileData() 
        {
        	
        }
        
        public object Clone()
        {
        	TileData td = new TileData();
        	td.Name = this.Name;
        	td.Description = this.Description;
        	td.ImageCharacter = this.ImageCharacter;
        	td.BackColor=this.BackColor;
        	td.ForeColor = this.ForeColor;
        	td.X = this.X;
        	td.Y = this.Y;
        	td.Walkable = this.Walkable;
        	
        	return td;
        }


    }
}
